#pragma once
#include "CTimeSpan.h"

class CDuration :
	public CTimeSpan
{

protected: 
	CDuration();
private: 
	CDuration(CCoreServices * pCore);
protected: 
	virtual ~CDuration();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate); 
	virtual XUINT32 GetTypeIndex() const;
	XBOOL IsZeroLength(); 
	enum DurationType m_durationType;
protected: 
	HRESULT InitFromString(XUINT32 cString, XUINT16 * pString);
};
